const getters = {
    collection(state) {

        if (state.collectList.length == 0) {
            state.collectList = JSON.parse(localStorage.getItem('collection'))

        }
        return state.collectList



    }
}

export default getters